//小仓库:layout组件相关配置仓库

import { defineStore } from 'pinia'

let useLayOutSettingStore = defineStore('SettingStore', {
  state: () => {
    return {
      //是否折叠侧边栏
      fold: false,
      refresh: false, //是否刷新页面
      drawer: false, //是否开启右侧抽屉，切换主题
      isDark: false, //是否开启暗黑模式
    }
  },
})

export default useLayOutSettingStore
